import type { Recordable } from '@vben/types';
import { requestClient } from '#/api/request';

export async function list(data) {
  return requestClient.post('/task/inspectionTask/getInspectionTaskList', data);
}

export async function getInspectionTaskDetail(data) {
  return requestClient.post('/task/inspectionTask/getInspectionTaskDetail', data);
}

export async function cancelExecute(data) {
  return requestClient.post('/task/inspectionTask/cancelExecute', data);
}